<?php /*a:5:{s:61:"/www/wwwroot/qt.feifeiyu.club/app/admin/view/system/index.vue";i:1690958528;s:59:"/www/wwwroot/qt.feifeiyu.club/app/admin/view/index/meta.vue";i:1691032692;s:59:"/www/wwwroot/qt.feifeiyu.club/app/admin/view/index/main.vue";i:1690877708;s:61:"/www/wwwroot/qt.feifeiyu.club/app/admin/view/index/header.vue";i:1690970148;s:61:"/www/wwwroot/qt.feifeiyu.club/app/admin/view/index/footer.vue";i:1690447758;}*/ ?>
<html lang="zh-cn"><head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?php echo get_config('site_name'); ?> - 后台管理</title>
    <link rel="stylesheet" type="text/css" href="/static/css/layui.css" /><link rel="stylesheet" type="text/css" href="/static/css/bootstrap.css" /><link rel="stylesheet" type="text/css" href="/static/css/mian.css" /><script type="text/javascript" src="/static/js/jquery.min.js"></script><script type="text/javascript" src="/static/js/bootstrap.bundle.min.js"></script><script type="text/javascript" src="/static/js/layui.js"></script> <link rel="stylesheet" type="text/css" href="//at.alicdn.com/t/c/font_4112823_w668vgmca4.css" />
    </head>
  
  <body class="body">
    <div>
      <div class="common-layout min-w-[1200px]">
        <section class="el-container w-100 h-screen">
          <!--侧边栏开始--><aside class="el-aside h-screen layout-aside w-auto bright">
    <section class="el-container is-vertical w-100 h-screen sidebar-brightness-mode hidden-xs-only">
        <header class="el-header logo-wrap w-100">
            <div class="logo flex items-center m-auto max-w-[210px] h-[30px]">
                <img class="max-w-full" style="height: 32px;"  src="/static/images/logo.png" alt="<?php echo get_config('site_name'); ?>"></div>
        </header>
        <main class="el-main menu-wrap">
            <div class="el-scrollbar">
                <div class="el-scrollbar__wrap el-scrollbar__wrap--hidden-default">
                    <div class="el-scrollbar__view" style="">
                        <ul role="menubar" class="el-menu el-menu--vertical aside-menu h-full" style="--el-menu-level: 0;">
                            <li class="el-menu-item <?php if(app('request')->controller()=='Index'): ?>is-active<?php endif; ?>">
                               <div class="w-[16px] h-[16px] relative flex justify-center">
                                     <a href="/admin">
                                    
                                </div>
                               <div class="relative">
                                    <span class="ml-[10px] text-[15px]">控制台</span>
                                    </div>
                              </a>
                            </li>
                            <?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                            <li class="el-sub-menu">
                                <div class="el-sub-menu__title" data-bs-toggle="collapse" href="#collapseExample<?php echo htmlentities($vo['id']); ?>" role="button" aria-expanded="false" aria-controls="collapseExample">
                                    <div class="w-[16px] h-[16px] relative flex items-center">
                                        <i class="el-icon icon el-icon absolute !w-auto" style="color: var(--color); font-size: 16px;">
                                             <i class="iconfont  <?php echo htmlentities($vo['icon']); ?>"></i>
                                        </i>
                                    </div>
                                    <span class="ml-[10px] text-[15px]"><?php echo htmlentities($vo['name']); ?></span>
                                    <i class="el-icon el-sub-menu__icon-arrow" style="transform: none;">
                                        <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
                                            <path fill="currentColor" d="M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"></path>
                                        </svg>
                                    </i>
                                </div>
                                <ul id="collapseExample<?php echo htmlentities($vo['id']); ?>" class="el-menu el-menu--inline collapse <?php echo menu_shou(app('request')->controller(),$vo['id']); ?>">
                                    <?php $var = $vo['id']; $list_where = "parentid=$var and status=1";$list_db_info = think\facade\Db::table('qh_app_menu')->field('')->where($list_where)->order('id DESC')->limit(10)->order('id DESC')->select(); if(is_array($list_db_info) || $list_db_info instanceof \think\Collection || $list_db_info instanceof \think\Paginator): $i = 0; $__LIST__ = $list_db_info;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$data): $mod = ($i % 2 );++$i;if(app_role_priv($data['m'],$data['c'],$data['a'])): ?>
                                    <li class="el-menu-item <?php if(app('request')->controller()==$data['c']): ?>is-active<?php endif; ?>">
                                      <a href="<?php echo url(''.$data['c'].'/'.$data['a'].''); ?>">
                                        <span class="text-[14px] ml-[40px]"><?php echo htmlentities($data['name']); ?></span></a></li>
                                   <?php endif; ?>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                                </ul>
                            </li>
                             <?php endforeach; endif; else: echo "" ;endif; ?>
                        </ul>
                        <div class="h-[48px]"></div>
                    </div>
                </div>
                
            </div>
        </main>
    </section>
</aside>
          <!--侧边栏结束-->
          <section class="el-container is-vertical">
            <!--顶部--><header class="el-header">
    <section class="el-container h-full px-[10px] layout-header border-b border-color" style="border-bottom-style: solid;border-color: #e5e7eb;">
        <div class="el-row w-100 h-full w-full">
            <div class="el-col el-col-12">
                <div class="left-panel h-full flex items-center">
                    <!--刷新-->
                    <div class="navbar-item flex items-center h-full cursor-pointer" onclick="refresh()">
                        <i class="el-icon icon el-icon" style="color: var(--color); font-size: 16px;">
                            <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
                                <path fill="currentColor" d="M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"></path>
                            </svg>
                        </i>
                    </div>
                    <!--刷新-->
                    <div class="flex items-center h-full pl-[10px] hidden-xs-only">
                        <div class="el-breadcrumb" aria-label="Breadcrumb" role="navigation">
                            <span class="el-breadcrumb__item" aria-current="page">
                                <span class="el-breadcrumb__inner" role="link">控制台</span>
                                <span class="el-breadcrumb__separator" role="presentation">/</span>
                                <span class="el-breadcrumb__inner" role="link"><?php echo getmenuname(app('request')->controller()); ?></span>
                                </span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="el-col el-col-12">
                <div class="right-panel h-full flex items-center justify-end">
                    
                    <div class="navbar-item flex items-center h-full cursor-pointer">
                        <div class="el-dropdown">
                            <div class="userinfo flex h-full items-center dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
                                <span class="el-avatar el-avatar--icon el-avatar--circle" style="--el-avatar-size: 25px;">
                                    <i class="el-icon">
                                        <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
                                            <path fill="currentColor" d="M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0zm544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z"></path>
                                        </svg>
                                    </i>
                                </span>
                                <div class="user-name pl-[8px]"><?php echo htmlentities($admin['rolename']); ?></div></div>
                            <!--菜单开始-->
                            <div class="el-popper is-pure is-light dropdown-menu">
                                <div class="el-scrollbar">
                                    <div class="el-scrollbar__wrap el-scrollbar__wrap--hidden-default">
                                        <div class="el-scrollbar__view el-dropdown__list" style="">
                                            <ul class="el-dropdown-menu">
                                                <li class="el-dropdown-menu__item">
                                                    <a data-height="340" data-class="modal-dialog-centered" data-toggle="RefreshModal" data-remote="<?php echo url('admin/index/password'); ?>">修改密码</a></li>
                                                <li class="el-dropdown-menu__item">
                                                    <a onclick="clear_del(this,'<?php echo url('admin/index/clear_chache'); ?>','确定清空缓存吗')">清除缓存</a></li>
                                                <li class="el-dropdown-menu__item"><a href="<?php echo url('admin/index/laout'); ?>">退出登录</a></li></ul>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <!--菜单结束--></div>
                    </div>
                </div>
            </div>
        </div>
    </section>
</header>
            <!--顶部结束-->
            <main class="el-main main-wrap h-full p-0">
              <div class="el-scrollbar">
                <div class="el-scrollbar__wrap el-scrollbar__wrap--hidden-default">
                  <div class="el-scrollbar__view" style="">
                    <div class="p-[10px]">
                      <div class="main-container">
                        <div class="flex ml-[18px] justify-between items-center mt-[20px] mb-[5px]">
                          <span class="text-[20px]">网站设置</span></div>
                        <form class="el-form el-form--default el-form--label-right page-form" method="post" onsubmit="return post_add(this,'<?php echo url('index'); ?>')">
                          <div class="el-card is-never-shadow box-card !border-none">
                            <div class="el-card__body" style="">
                              <h3 class="panel-title !text-sm">基本设置</h3>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">站点名称</label>
                                <div class="col-sm-10">
                                  <input type="text" value="<?php echo htmlentities($site['site_name']); ?>" name="site_name" placeholder="请输入站点名称" class="form-control"></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">站点根网址</label>
                                <div class="col-sm-10">
                                  <input type="text" value="<?php echo htmlentities($site['site_url']); ?>" name="site_url" placeholder="请输入站点根网址" class="form-control"></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">网站Logo</label>
                                <div class="col-sm-10 input-group mb-3" style="width: 83.33333333%;">
                                  <input type="text" id="site_logo" value="<?php echo htmlentities($site['site_logo']); ?>" name="site_logo" placeholder="请输入网站Logo" class="form-control">
                                  <button onclick="qh_open('图片管理','<?php echo url('attachment/add',['name'=>'site_logo']); ?>',700,500)" class="el-button el-button--primary" type="button">上传</button></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">站点关键词</label>
                                <div class="col-sm-10">
                                  <input type="text" value="<?php echo htmlentities($site['site_keyword']); ?>" name="site_keyword" placeholder="请输入站点关键词" class="form-control"></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">网站版权信</label>
                                <div class="col-sm-10">
                                  <input type="text" value="<?php echo htmlentities($site['site_copyright']); ?>" name="site_copyright" placeholder="请输入网站版权信" class="form-control"></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">网站备案号</label>
                                <div class="col-sm-10">
                                  <input type="text" value="<?php echo htmlentities($site['site_filing']); ?>" name="site_filing" placeholder="请输入网站备案号" class="form-control"></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">公安备案号</label>
                                <div class="col-sm-10">
                                  <input type="text" value="<?php echo htmlentities($site['site_security_number']); ?>" name="site_security_number" placeholder="请输入公安备案号号" class="form-control"></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">站点描述</label>
                                <div class="col-sm-10">
                                  <input type="text" value="<?php echo htmlentities($site['site_description']); ?>" name="site_description" placeholder="请输入站点描述" class="form-control"></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">统计代码</label>
                                <div class="col-sm-10">
                                  <textarea type="text" name="site_code" placeholder="请输入统计代码" class="form-control"><?php echo htmlentities($site['site_code']); ?></textarea></div>
                              </div>
                            </div>
                          </div>
                          <div class="el-card is-never-shadow box-card !border-none">
                            <div class="el-card__body" style="">
                              <h3 class="panel-title !text-sm">核心设置</h3>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">模板风格</label>
                                <div class="col-sm-10">
                                  <select class="form-select" name="site_theme">
                                      <?php if(is_array($them_pc) || $them_pc instanceof \think\Collection || $them_pc instanceof \think\Paginator): $i = 0; $__LIST__ = $them_pc;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$data): $mod = ($i % 2 );++$i;?>
                                    <option value="<?php echo htmlentities($data); ?>" <?php echo $site['site_theme']==$data ? 'selected' :  ''; ?>><?php echo htmlentities($data); ?></option>
                                    <?php endforeach; endif; else: echo "" ;endif; ?>
                                    </select></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">上传限制</label>
                                <div class="col-sm-10">
                                  <input type="text" value="<?php echo htmlentities($site['upload_maxsize']); ?>" name="upload_maxsize" placeholder="请输入上传限制" class="form-control"></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">附件类型</label>
                                <div class="col-sm-10">
                                  <input type="text" value="<?php echo htmlentities($site['upload_types']); ?>" name="upload_types" placeholder="请输入附件类型" class="form-control"></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">图片水印</label>
                                <div class="col-sm-10">
                                  <div class="form-check form-switch">
                                    <input class="form-check-input" value="1" name="watermark_enable" type="checkbox" role="switch" id="watermark_enable" <?php echo !empty($site['watermark_enable']) ? 'checked' :  ''; ?>>
                                    <label class="form-check-label" for="watermark_enable">开启图片水印</label></div>
                                </div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">水印上传</label>
                                <div class="col-sm-10 input-group mb-3" style="width: 83.33333333%;">
                                  <input type="text" id="watermark_name" name="watermark_name" placeholder="请输入水印上传" class="form-control">
                                  <button onclick="qh_open('图片管理','<?php echo url('attachment/add',['name'=>'watermark_name']); ?>',700,500)" class="el-button el-button--primary" type="button">上传</button></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">水印位置</label>
                                <div class="col-sm-10">
                                  <select class="form-select" name="watermark_position" aria-label="请选择会员状态">
                                    <option value="1" <?php echo $site['watermark_position']==1 ? 'selected' :  ''; ?>>左上角</option>
                                    <option value="2" <?php echo $site['watermark_position']==2 ? 'selected' :  ''; ?>>居中</option>
                                    <option value="3" <?php echo $site['watermark_position']==3 ? 'selected' :  ''; ?>>右上角</option>
                                    <option label="4" <?php echo $site['watermark_position']==4 ? 'selected' :  ''; ?>>左居中</option>
                                    <option label="5" <?php echo $site['watermark_position']==5 ? 'selected' :  ''; ?>>居中</option>
                                    <option label="6" <?php echo $site['watermark_position']==6 ? 'selected' :  ''; ?>>右居中</option>
                                    <option label="7" <?php echo $site['watermark_position']==7 ? 'selected' :  ''; ?>>左下角</option>
                                    <option label="8" <?php echo $site['watermark_position']==8 ? 'selected' :  ''; ?>>下居中</option>
                                    <option label="9" <?php echo $site['watermark_position']==9 ? 'selected' :  ''; ?>>右下角</option></select>
                                </div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">透明度</label>
                                <div class="col-sm-10">
                                  <input type="range" value="<?php echo htmlentities($site['watermark_trans']); ?>" name="watermark_trans" class="form-range" id="watermark_trans"></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">推送token</label>
                                <div class="col-sm-10">
                                  <textarea type="text" name="baidu_push_token" placeholder="请输入推送token" class="form-control"><?php echo htmlentities($site['baidu_push_token']); ?></textarea></div>
                              </div>
                            </div>
                          </div>
                          <div class="el-card is-never-shadow box-card !border-none">
                            <div class="el-card__body" style="">
                              <h3 class="panel-title !text-sm">安全设置</h3>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">评论验证</label>
                                <div class="col-sm-10">
                                  <div class="form-check form-switch">
                                    <input class="form-check-input" value="1" name="comment_code" type="checkbox" role="switch" id="comment_code" <?php echo !empty($site['comment_code']) ? 'checked' :  ''; ?>>
                                    <label class="form-check-label" for="comment_code">是否开启评论验证</label></div>
                                </div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">评论审核</label>
                                <div class="col-sm-10">
                                  <div class="form-check form-switch">
                                    <input class="form-check-input" value="1" name="comment_check" type="checkbox" role="switch" id="comment_check" <?php echo !empty($site['comment_check']) ? 'checked' :  ''; ?>>
                                    <label class="form-check-label" for="comment_check">是否开启评论验证</label></div>
                                </div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">游客评论</label>
                                <div class="col-sm-10">
                                  <div class="form-check form-switch">
                                    <input class="form-check-input" value="1" name="comment_tourist" type="checkbox" role="switch" id="comment_tourist" <?php echo !empty($site['comment_tourist']) ? 'checked' :  ''; ?>>
                                    <label class="form-check-label" for="comment_tourist">是否游客评论</label></div>
                                </div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">禁止登录后台的IP</label>
                                <div class="col-sm-10">
                                  <textarea type="text" name="admin_prohibit_ip" placeholder="匹配IP段用“*”占位，如192.168.*.*，多个IP地址请用英文逗号" class="form-control"><?php echo htmlentities($site['admin_prohibit_ip']); ?></textarea></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">前端IP黑名单列表</label>
                                <div class="col-sm-10">
                                  <textarea type="text" name="blacklist_ip" placeholder="匹配IP段用“*”占位，如192.168.*.*，多个IP地址请用英文逗号" class="form-control"><?php echo htmlentities($site['blacklist_ip']); ?></textarea></div>
                              </div>
                            </div>
                          </div>
                          <div class="el-card is-never-shadow box-card !border-none">
                            <div class="el-card__body" style="">
                              <h3 class="panel-title !text-sm">会员设置</h3>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">会员模板</label>
                                <div class="col-sm-10">
                                  <select class="form-select" name="member_theme">
                                      <?php if(is_array($them_member) || $them_member instanceof \think\Collection || $them_member instanceof \think\Paginator): $i = 0; $__LIST__ = $them_member;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$data): $mod = ($i % 2 );++$i;?>
                                    <option value="<?php echo htmlentities($data); ?>" <?php echo $site['member_theme']==$data ? 'selected' :  ''; ?>><?php echo htmlentities($data); ?></option>
                                    <?php endforeach; endif; else: echo "" ;endif; ?></select></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">QQ互联ID</label>
                                <div class="col-sm-10">
                                  <input type="text" value="<?php echo htmlentities($site['qq_appid']); ?>" name="qq_appid" placeholder="请输入QQ互联ID" class="form-control"></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">QQ互联秘钥</label>
                                <div class="col-sm-10">
                                  <input type="text" value="<?php echo htmlentities($site['qq_secret']); ?>" name="qq_secret" placeholder="请输入QQ互联秘钥" class="form-control"></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">QQ回调地址</label>
                                <div class="col-sm-10">
                                  <input type="text" value="<?php echo htmlentities($site['qq_url']); ?>" name="qq_url" placeholder="请输入QQ回调地址" class="form-control"></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">会员注册</label>
                                <div class="col-sm-10">
                                  <div class="form-check form-switch">
                                    <input class="form-check-input" value="1" name="member_register" type="checkbox" role="switch" id="member_register" <?php echo !empty($site['member_register']) ? 'checked' :  ''; ?>>
                                    <label class="form-check-label" for="member_register">是否开启会员注册</label></div>
                                </div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">注册审核</label>
                                <div class="col-sm-10">
                                  <div class="form-check form-switch">
                                    <input class="form-check-input" value="1" name="member_qh" type="checkbox" role="switch" id="member_qh" <?php echo !empty($site['member_qh']) ? 'checked' :  ''; ?>>
                                    <label class="form-check-label" for="member_qh">是否开启注册审核</label></div>
                                </div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">登录验证</label>
                                <div class="col-sm-10">
                                  <div class="form-check form-switch">
                                    <input class="form-check-input" value="1" name="member_chek" type="checkbox" role="switch" id="member_chek" <?php echo !empty($site['member_chek']) ? 'checked' :  ''; ?>>
                                    <label class="form-check-label" for="member_chek">是否开启登录验证</label></div>
                                </div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">评论验证</label>
                                <div class="col-sm-10">
                                  <div class="form-check form-switch">
                                    <input class="form-check-input" value="1" name="comment_code" type="checkbox" role="switch" id="comment_code" <?php echo !empty($site['comment_code']) ? 'checked' :  ''; ?>>
                                    <label class="form-check-label" for="comment_code">是否开启评论验证</label></div>
                                </div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">注册验证</label>
                                <div class="col-sm-10">
                                  <div class="form-check form-switch">
                                    <input class="form-check-input" value="1" name="member_isregister" type="checkbox" role="switch" id="member_isregister" <?php echo !empty($site['member_isregister']) ? 'checked' :  ''; ?>>
                                    <label class="form-check-label" for="member_isregister">是否注册验证</label></div>
                                </div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">1/兑换积分</label>
                                <div class="col-sm-10">
                                  <input type="range" value="<?php echo htmlentities($site['rmb_point_rate']); ?>" name="rmb_point_rate" class="form-range" id="rmb_point_rate"></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">默认积分</label>
                                <div class="col-sm-10">
                                  <input type="range" value="<?php echo htmlentities($site['member_point']); ?>" name="member_point" class="form-range" id="member_point"></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">每日奖励积分</label>
                                <div class="col-sm-10">
                                  <input type="range" value="<?php echo htmlentities($site['login_point']); ?>" name="login_point" class="form-range" id="login_point"></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">发布评论奖励积分</label>
                                <div class="col-sm-10">
                                  <input type="range" value="<?php echo htmlentities($site['comment_point']); ?>" name="comment_point" class="form-range" id="comment_point"></div>
                              </div>
                              <div class="mb-3 row">
                                <label class="col-sm-2 col-form-label el-form-item__label" style="width: 150px;">投稿奖励积分</label>
                                <div class="col-sm-10">
                                  <input type="range" value="<?php echo htmlentities($site['publish_point']); ?>" name="publish_point" class="form-range" id="publish_point"></div>
                              </div>
                            </div>
                          </div>
                          <!--底部-->
                          <footer class="el-dialog__footer">
                            <span class="dialog-footer">
                              <button class="el-button el-button--primary" aria-disabled="false" type="submit">
                                <span class="">提交保存</span></button>
                            </span>
                          </footer>
                        </form>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </main>
          </section>
        </section>
      </div>
    </div><script type="text/javascript">
 window._win = {}
</script>
<script type="text/javascript" src="/static/js/mian.js"></script></body>

</html>